<template>
  <el-card class="page-container">
    <template #header>
      <div class="header">
        <strong>{{ title }}</strong>
      </div>
    </template>
    <slot></slot>

  </el-card>
</template>

<script setup>
defineProps({
  title: {
    type: String,
    required: true
  }
}
)
</script>

<style lang="scss" scoped>
.page-container {
  min-height: 100%;
  box-sizing: border-box;
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
</style>